from django.urls import path
from . import views

urlpatterns = [
    # 文档管理
    path('documents/upload/', views.upload_document, name='upload_document'),
    path('documents/', views.list_documents, name='list_documents'),
    path('documents/<uuid:document_id>/delete/', views.delete_document, name='delete_document'),
    
    # 面试会话管理
    path('sessions/create/', views.create_session, name='create_session'),
    path('sessions/', views.list_sessions, name='list_sessions'),
    path('sessions/<uuid:session_id>/questions/', views.get_session_questions, name='get_session_questions'),
    path('sessions/<uuid:session_id>/results/', views.get_session_results, name='get_session_results'),
    
    # 答案提交
    path('submit-answer/', views.submit_answer, name='submit_answer'),
]
